import {staffLogin} from  '../../../services/personalService'
import {$updateEmployee} from "../../../services/settingService";
import {$loadStaffSaleDataSet} from "../../../services/statementService";
export const Staff={
  createNew:(_staff)=>{
    let staff={
      ..._staff
    };
    return staff;
  }
}
//员工
export async function  login(info){
  return staffLogin(info);
}
export function updateInfo(staff){
  return $updateEmployee(staff);
}
export function loadReport(start,end,account){
  return $loadStaffSaleDataSet(start,end,account)
}

